package mini.reanimate;

import hubol.Shake;
import hubol.Sprite;

public abstract class Screen {
	protected final Shake[] s;
	protected final Sprite[] sprite;
	
	public Screen(int shake, String... sprites){
		s = new Shake[shake];
		for (int i=0; i<shake; i++)
			s[i] = new Shake(.2);
		
		sprite = new Sprite[sprites.length];
		for (int i=0; i<sprites.length; i++)
			sprite[i] = new Sprite(sprites[i]);
	}
	
	public abstract void step();
	
	public abstract void enter();
	
	public abstract void leave();
	
	public abstract boolean background();
	
	public abstract void foreground();
	
	public abstract void bogusLand();
	
	protected boolean busy(){
		return Reanimate.me.BUSY;
	}

}
